<html layout:decorate="~{project/accountManage/arithmetic_list}" xmlns:layout="http://www.w3.org/1999/xhtml">
<script>

</script>
<div layout:fragment="arithmetic_list">


    <div class="main-body">

        <div id="toolbar" class="btn-group btn-group-sm " >
            <!--<a type="button" class="btn btn-primary" data-toggle="modal" href="/project/accountManage/account_add" data-target="#modal3">新增</a>-->
            <a type="button" onclick="editData('/project/accountManage/account_edit','id')" class="btn btn-info" data-toggle="modal" data-target="#modal3">修改</a>
            <a type="button" onclick="delDatas('/project/accountManage/account_del')" class="btn btn-danger">删除</a>
        </div>

        <table id="dataTable" data-url="/project/accountManage/manage_data" data-page-list=[]  data-striped="true"
               data-pagination="true" data-page-size="15" data-cache="false" data-toolbar-align="right">

        </table>

        <script>
            var dataFormat_point = [{
                checkbox: true
            },{
                field:'id',
                title:'id',
                visible:true
            },{
                field: 'nickName',
                title: '姓名',
                sortable:true
            },{
                field: 'account',
                title: '账号',
                sortable:true
            }, {
                field: 'pass',
                title: '密码',
                sortable:true
            }, {
                field: 'openId',
                title: '微信号',
                sortable:true
            },  {
                field: 'menu',
                title: '权限',
                sortable:true
            }, {
                field: 'type',
                title: '角色',
                sortable:true
            },{
                field: 'timekey',
                        title: '操作时间',
                        sortable:true
            }];

            window.onload = function () {
                getTable(dataFormat_point, "dataTable");
            };

        </script>
    </div>
</div>
</html>

